package com.corpgovernment.common.dto.bill;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author ：xks
 * @date ：Created in 2022/8/3 15:32
 * @description：
 * @modified By：
 * @version: $
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OrderBillDto {
    /**
     *  支付单数据
     */
    private List<PaymentBill> paymentBillList;
    /**
     *  退款单数据
     */
    private List<PaymentRefund> paymentRefundList;

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class PaymentBill{
        private Long orderId;
        private String uid;
        private String status;
        private BigDecimal amount;
    }

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class PaymentRefund{
        private Long orderId;
        private BigDecimal amount;
        private String uid;
        private String status;
    }
}
